package com.market.goods.dao.po;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;

/**
 *活动与订单关联表
 */
@Table(name = "activity_order")
public class ActivityOrderPO implements Serializable {
    /**
     *编号
     */
    private Long id;

    /**
     * 活动id
     */
    @Column(name = "activity_id")
    private Long activityId;

    /**
     * 订单编号
     */
    @Column(name = "order_id")
    private Long orderId;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    private static final long serialVersionUID = 1L;

    /**
     * ��ȡ���
     *
     * @return id - ���
     */
    public Long getId() {
        return id;
    }

    /**
     * ���ñ��
     *
     * @param id ���
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * ��ȡ�id 
     *
     * @return activity_id - �id 
     */
    public Long getActivityId() {
        return activityId;
    }

    /**
     * ���ûid 
     *
     * @param activityId �id 
     */
    public void setActivityId(Long activityId) {
        this.activityId = activityId;
    }

    /**
     * ��ȡ�������
     *
     * @return order_id - �������
     */
    public Long getOrderId() {
        return orderId;
    }

    /**
     * ���ö������
     *
     * @param orderId �������
     */
    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    /**
     * ��ȡ��������
     *
     * @return create_time - ��������
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * ���÷�������
     *
     * @param createTime ��������
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}